package D12_19z.BU_1;

import org.apache.commons.beanutils.BeanUtils;

public class MainApp {
    public static void main(String[] args) throws Exception{
        Cat cat = new Cat();
        BeanUtils.setProperty(cat,"name","许庆煌");
        BeanUtils.setProperty(cat,"age",1);
        BeanUtils.setProperty(cat,"color","绿色");
        BeanUtils.setProperty(cat,"sex","雌");
        System.out.println(cat);
    }
}
